class donep{
    public int y=666;
}
class diu extends donep{
    public int r=1;

    public void d(){
        System.out.println("this is fu");
    }
}
public class demo extends diu{
    public void d(){
        System.out.println("this is zi");
    }
    public int k=9;

    public static void main(String[] args) {
        demo a=new demo();
        System.out.println(a.y);
    }
}
